
set more off
use Data/Estimation_sample.dta, clear


	label variable green_plan "Share Green" 
	label variable cumins "Solar Panels (000s)"
	label variable mean_weighted "Average Electricity Tariff"
	label variable TotalHouse_interp "Dwellings (000s)"
	label variable PSeparate_interp "Proportion Separate Dwellings"
	label variable Separate_interp "Separate Dwellings (000s)"
	label variable median_income_interp "Median Income (000/week)"
	label variable median_mortgage_interp "Median Mortgage Payment (000/month)"
	label variable median_rent_interp "Median Rental Payment (000/week)" 
	label variable PBachelor_interp "Proportion Bachelor's Degree"
	label variable PRented_interp "Proportion Rental Properties"
	label variable median_rooms_interp "Median House Size"
	label variable PFullTime_interp "Proportion Employed Full Time"
	label variable median_age_interp "Median Age"
	label variable mean_weighted "Electricity Tariff (per kWh)"
	label variable PROOFME "Proportion Roof Metal"	
	label variable PROOFTI "Proportion Roof Tile"
	label variable price_green "Green power tariff (c/kWh)"
	label variable price_nongreen "Standard tariff (c/kWh)"
	
	

*** short summary statistics for paper(Table 2)
	
eststo clear
	
estpost tabstat green_plan cuminstal median_mortgage_interp median_income_interp  PBachelor_interp ///
  PFullTime_interp  PROOFME  PROOFTI  [aweight=NCus] , ///
 statistics(mean sd) columns(statistics) 


esttab using Analysis/desc_stats_short.tex , main(mean) aux(sd) nostar label unstack replace nonotes
	



*** longer summary statistics for appendix (Table A1) 
	
eststo clear
	
estpost tabstat green_plan cuminstal price_nongreen price_green  median_mortgage_interp median_income_interp  median_rent_interp PBachelor_interp ///
 median_rooms_interp PFullTime_interp median_age_interp  PSeparate_interp  PRented_interp  PROOFME  PROOFTI  [aweight=NCus] , ///
 statistics(mean sd) columns(statistics) 


esttab using Analysis/desc_stats.tex , main(mean) aux(sd) nostar label unstack replace nonotes
	


	
	
	
